Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

8
Become a Fan
8.1

Available as/for:
Description:
This is a kwin effect that draws the application menu in the titlebar when the mouse is hovered over the titlebar.

Dependencies:

For gtk apps:
libdbusmenu
appmenu-gtk


For qt/kde apps
libdbusmenu-qt
appmenu-qt

For Qt/KDE apps to work with this you need a patched version of Qt. If you're on Ubuntu then you already have it. For archlinux users, it's in the AUR as qt-appmenu.


General
QJson
kdebase-workspace[-dev]

Please report bugs and feature requests here: https://bitbucket.org/jimi312/titlebar-menu/issues

To build:

extract the archive
cd titlemenu
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
make
sudo make install

After this go to systemsettings, activate the titlemenu effect in the desktop effects category.
Logout and login in again.
Last changelog:

0.1 - Added a config gui, added support fro showing a single menu item with the rest of the menu as a submenu and added support to show the menu always
0.01 - Initial release


Ratings & Comments

29 Comments

volpegrigia

hi, i've problem in kubuntu 11.04 nino@nino-laptop:~/Scaricati/titlemenu-0.1/build$ sudo apt-get install kdebase-workspace-dev Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto kdebase-workspace-dev è già alla versione più recente. 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati. nino@nino-laptop:~/Scaricati/titlemenu-0.1/build$ cmake -DCMAKE_INSTALL_PREFIX='kde4-config --prefix' ../ WARNING: KWin headers NOT found, compiling might fail. -> Ensure you've installed the kdebase[-workspace]-dev package -- Found Qt-Version 4.7.2 (using /usr/bin/qmake) -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Found KDE 4.7 include dir: /usr/include -- Found KDE 4.7 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Configuring done -- Generating done -- Build files have been written to: /home/nino/Scaricati/titlemenu-0.1/build nino@nino-laptop:~/Scaricati/titlemenu-0.1/build$ sudo make [ 0%] Built target kcm_kwin4_effect_titlemenu_automoc [ 6%] Building CXX object CMakeFiles/kcm_kwin4_effect_titlemenu.dir/titlemenu_config.o /home/nino/Scaricati/titlemenu-0.1/titlemenu_config.cpp:23:25: fatal error: kwineffects.h: File o directory non esistente compilation terminated. make[2]: *** [CMakeFiles/kcm_kwin4_effect_titlemenu.dir/titlemenu_config.o] Errore 1 make[1]: *** [CMakeFiles/kcm_kwin4_effect_titlemenu.dir/all] Errore 2 make: *** [all] Errore 2

JARDA001

/titlemenu.cpp:30:36: fatal error: X11/extensions/Xrender.h: Adresář nebo soubor neexistuje compilation terminated. make[2]: *** [CMakeFiles/kwin4_effect_titlemenu.dir/titlemenu.o] Error 1 make[1]: *** [CMakeFiles/kwin4_effect_titlemenu.dir/all] Error 2 make: *** [all] Error 2 Xrender.h really missing. How can I solve it?

JARDA001

solved How can I set Opera to this style (menu, it will optimal with tabs in title like chrome in windows)? http://i.iinfo.cz/images/652/opera-11-beta.png

kbblak

I'd really like an integration into the window decoration. Atm, the menu button is just an overlay, buttons of the window decoration under the menubutton aren't useable. How can i manipulate the design of the button?

JARDA001

can you creat a deb file please?

johnnybravo

I use arch linux so I can't create a deb package unfortunately.

JARDA001

okay, but thanks :)

gnumdk

https://bugs.kde.org/show_bug.cgi?id=266596

OdinEidolon

does this work only for Oxygen?

johnnybravo

This will work with all window decorations as long as you have desktop effects enabled

scelos

Linking CXX shared module lib/kwin4_effect_titlemenu.so CMakeFiles/kwin4_effect_titlemenu.dir/titlemenu.o: In function `KWin::TitleMenuEffect::DumpMenu(unsigned long)': /media/test/titlemenu-0.01/titlemenu.cpp:253: undefined reference to `QJson::Serializer::Serializer()' /media/test/titlemenu-0.01/titlemenu.cpp:254: undefined reference to `QJson::Serializer::serialize(QVariant const&)' /media/test/titlemenu-0.01/titlemenu.cpp:253: undefined reference to `QJson::Serializer::~Serializer()' collect2: ld returned 1 exit status make[2]: *** [lib/kwin4_effect_titlemenu.so] Error 1 make[1]: *** [CMakeFiles/kwin4_effect_titlemenu.dir/all] Error 2 make: *** [all] Error 2

johnnybravo

This has been fixed in the new version

scelos

Same error, full log http://pastebin.com/BBn6rc96

johnnybravo

Please make sure you have qjson installed.

scelos

Yes, qjscon installed.

Zephyr1988

This is an excellent effect, great work and thank you!! For the next versions could you consider this idea? http://forum.kde.org/brainstorm.php#idea91172_page1 When the qt-appmenu patch goes upstream in Qt, hopefully 4.8, it could be merged upstream!

gnumdk

>patched qt(for qt/kde apps). Where can i find this ?

johnnybravo

If you're on ubuntu then you already have the patched qt installed. For arch linux it's in aur. Just install the appmenu-qt package from aur and that will pull in all the required dependencies.

unhammer

WARNING: KWin headers NOT found, compiling might fail. -> Ensure you've installed the kdebase[-workspace]-dev package ..got a download link for that? (can't find anything like that in the Arch Linux repos)

unhammer

oh, it seems to have compiled anyway :) where in systemsettings do you activate it?

Hmpf

Look in Desktop Effects for Titlemenu.

Hmpf

It is a nice idea to save some space, but I experience some problems when I try to trigger the effect, see this screenshot: http://www.wstaw.org/m/2011/02/17/plasma-desktopnz1979.jpg

gnumdk

Same for me... appmenu-qt working...

johnnybravo

Which version of KDE are you using? Does this still happen after logging out and logging back in?

Hmpf

Yes log in log out after activation of the effect makes no difference here. This is KDE SC 4.6.0.

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 4

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0